<h2><?php echo $data->get('title'); ?></h2>
<div id="versions">
    <?php if (count($data->get('versions', '/', array())) > 0): ?>
    <table>
        <tr>
            <th>Name</th>
            <th>Version</th>
        </tr>
        <?php foreach ($data->get('versions') as $name=>$version): ?>
        <tr>
            <td><?php echo htmlspecialchars($name); ?></td>
            <td><?php echo htmlspecialchars($version); ?></td>
        </tr>
        <?php endforeach; ?>
    </table>
    <?php else: ?>
    <span class="noMessages">No version info</span>
    <?php endif; ?>
</div>